package com.holyant.goods.dto;

import com.ruoyi.common.core.annotation.Excel;
import lombok.Data;

/**
 * @author zgx *
 * @date 2024年04月24日 17:09
 */
@Data
public class GdsBrandImportDto {

    @Excel(name = "*品牌名称")
    private String brandName;

    @Excel(name = "*品牌英文名称")
    private String brandEnName;

    @Excel(name = "*品牌国家")
    private String brandNation;

    @Excel(name = "品牌描述")
    private String brandRemark;



    public  static  GdsBrandDto convertGdsBrandDto(GdsBrandImportDto brandImportDto){
        GdsBrandDto brandDto = new GdsBrandDto();
        brandDto.setName(brandImportDto.getBrandName());
        brandDto.setEName(brandImportDto.getBrandEnName());
        brandDto.setNation(brandImportDto.getBrandNation());
        brandDto.setRemark(brandImportDto.getBrandRemark());
        return brandDto;
    }

}
